package com.itsitio.registeradmin.dao.impl;

import java.util.List;

import org.hibernate.SessionFactory;
import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.itsitio.registeradmin.dao.ProvinceDao;
import com.itsitio.registeradmin.dao.base.SpringHibernateDao;
import com.itsitio.registeradmin.model.Country;
import com.itsitio.registeradmin.model.Province;

@Repository
public class ProvinceDaoImpl extends SpringHibernateDao<Province> implements ProvinceDao{

	@Autowired
	public ProvinceDaoImpl(SessionFactory sessionFactory) {
		super(sessionFactory);
	}

	@Override
	protected Class<Province> getObjetoManejado() {
		return Province.class;
	}



}
